package com.summer.user.service;

import java.util.List;

import com.summer.user.exception.ConfigNotFoundException;
import com.summer.user.exception.UserNotFoundException;
import com.summer.user.model.User;

public interface UserService {

	public void saveUser(User user);
	
	public List<User> listUsers();

	public boolean verifyOldPassword(String userId, String oldPassword)
			throws UserNotFoundException;

	public void modifyPassword(String userId, String newPassword)
			throws UserNotFoundException;

	void changeUserStatus(String userId, String status)
			throws UserNotFoundException, ConfigNotFoundException;

	void changeBindDingDingStatus(String userId, String status)
			throws UserNotFoundException, ConfigNotFoundException;
}
